package cn.fintecher.gis.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name = "layer_statistical")
@Data
@ApiModel(value = "layer_statistical", description = "图层数据统计")
public class LayerStatistical extends BaseEntity {

    @ApiModelProperty(notes = "名称")
    private String name;

    @ApiModelProperty(notes = "编号")
    private String code;

    @ApiModelProperty(notes = "级别(1,2)")
    private Integer grade;

    @ApiModelProperty(notes = "面积")
    private BigDecimal acreage;

    @ApiModelProperty(notes = "总面积")
    private BigDecimal acreageTotal;

    @ApiModelProperty(notes = "比例")
    private BigDecimal ratio;

    @ApiModelProperty(notes = "发布id")
    private String publishId;
}
